package com.seashop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 国家表,同时带有语言配置项
 * </p>
 *
 * @author moredln
 * @since 2020-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Country对象", description="国家表,同时带有语言配置项")
public class Country implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "国家二字码")
    private String countryCode;

    @ApiModelProperty(value = "国家三字码")
    private String countryCode3;

    @ApiModelProperty(value = "国家名称(默认英语)")
    private String countryName;

    @ApiModelProperty(value = "中文名")
    private String nameZh;

    @ApiModelProperty(value = "泰文名")
    private String nameTh;

    @ApiModelProperty(value = "印尼语名")
    private String nameId;

    @ApiModelProperty(value = "巴基斯坦语")
    private String namePk;

    @ApiModelProperty(value = "国家使用的语言列表")
    private String languageIds;

    @ApiModelProperty(value = "货币符号")
    private String currencyCode;

    @ApiModelProperty(value = "货币符号")
    private String currencySign;

    @ApiModelProperty(value = "美元对货币的汇率")
    private Float currrencyRate;

    @ApiModelProperty(value = "转出汇率")
    private Float transferOutRate;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
